<HTML> 
<HEAD> 
	<TITLE>3rd Party ROBOTC Drivers</TITLE> 
<link href="tabs.css" rel="stylesheet" type="text/css"/> 
<link href="doxygen.css" rel="stylesheet" type="text/css"/> 
</HEAD> 
 
<BODY bgcolor="#ffffff" link="#000000" vlink="#000000"> 
<table width="100%" bgcolor="navy" cellspacing=0 cellpadding=1 border=0> 
<tr><td><table width="100%" bgcolor="#EEEEDD" cellspacing=0 cellpadding=3 border=0> 
<tr> 
    <td width="33%" align="left"> <img src="images/LOGO_NXT.gif" width=266 height=44 border="0" alt="Mindstorms"></td> 
    <td><b><font size="+3" color="navy">3rd Party ROBOTC Drivers</font></b></td> 
    <td align="right"> <img src="images/logo.png" width=44 height=44 border="0" alt="RobotC"></td>     
</tr> 
  <tr bgcolor="#cccc99" align="right"> 
          <td colspan=3> <font face="arial" size="-1"> [<a href=main.html>Home</a>] [<a target=_top href="https://sourceforge.net/projects/rdpartyrobotcdr/">Download</a>] [<a target=_top href="http://apps.sourceforge.net/mantisbt/rdpartyrobotcdr/my_view_page.php">Submit a bug/suggestion</a>]  [<a target=_top href="http://www.robotc.net/forums/">ROBOTC Forums</a>] [<a target=_top href="http://botbench.com">Blog</a>] [<a target=_top href="http://sourceforge.net/donate/index.php?group_id=257238">Support this project</a>]</font> </td> 
</tr> 
</table></td></tr> 
</table> 
<!-- Generated by Doxygen 1.7.2 -->
<div class="header">
  <div class="summary">
<a href="#files">Files</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<h1>NXT2WIFI Wifi Sensor<br/>
<small>
[<a class="el" href="group__other.html">Other</a>]</small>
</h1>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="files"></a>
Files</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="benedettelli-nxt2wifi_8h.html">benedettelli-nxt2wifi.h</a></td></tr>

<p><tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>Dani's WiFi Sensor. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga836415b43af37073c0c5e836964c143d">WS_WEBLABEL</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga79b10de1bbc136ce1c87b199df74b328">WS_WEBBUTTON</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga8fa9ff8becf8b102935c2347348a0541">WS_WEBCHECKBOX</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gadeeafa26002e50f63f6528cca7c3d214">WS_WEBSLIDER</a>&#160;&#160;&#160;4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga5346e56803b6b76f95b726f15ce98ffc">WS_WEBBARGRAPH</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaa60f94528dbd526efe51621a5dcfbb38">WF_SEC_OPEN</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga4458353a505e877aad1243213fb71dbf">WF_SEC_WEP_40</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaca898382d4e569493104f07b8c2e7ff1">WF_SEC_WEP_104</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gae77b53f74bc682576506fa705eaf94b9">WF_SEC_WPA_KEY</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaa9999e5e1077bb65f4189c1743697924">WF_SEC_WPA_PASSPHRASE</a>&#160;&#160;&#160;4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga6364769e8bdd334175c212ac47c512a4">WF_SEC_WPA2_KEY</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga40084a38a35caccb8e963fdbe07223c4">WF_SEC_WPA2_PASSPHRASE</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gad65a4494e2b294d3f81958520c489aec">WF_SEC_WPA_AUTO_KEY</a>&#160;&#160;&#160;7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga92402209ad3288da331561197087fc92">WF_SEC_WPA_AUTO_PASSPHRASE</a>&#160;&#160;&#160;8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga88627dd4a9dfeb11d2f4968279c79f3c">AD_HOC</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga13431962e4ad8005509bc9bf2e5fc84c">INFRASTRUCTURE</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga8cad34ee07c9a294819f0070c94e1720">N2WchillOut</a>()&#160;&#160;&#160;wait1Msec(50)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabd2bf227781700379357eb2eb4789716">N2WsetIPAddress</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;IPAD&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga83de8a557b9f8fd353d23ddc51d504f9">N2WsetMask</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;MASK&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gafb777c708309b5c4cd60d89e23715c00">N2WsetGateway</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;GWAY&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaaebef4a719423f5116644ac1aeecc761">N2WsetDNS1</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;DNS1&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga378d37e736e65129349ee607b310789a">N2WsetDNS2</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;DNS2&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga54b23c839a31c2223453e622f4867440">N2WsetSSID</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;SSID&quot;, X)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga6fbee78a45297f6c914bde21f28092b8">N2WsetNetbiosName</a>(X)&#160;&#160;&#160;_N2WsetPar(&quot;NAME&quot;, X)</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">intrinsic int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gac9623873538026c63a3f80d3f41a787f">StringFind</a> (const char *sSrce, const char *pzFindString) asm(opcdStringOps</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">intrinsic int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaac0d56706c00d98c12714caea471305f">variableRefCharPtr</a> (sSrce)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">intrinsic int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga7c3c0f0eb0bb81b14b43b940624c064c">variableRefCharPtr</a> (pzFindString))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabaad0084f545d07e190898c2398fc73a">N2WgetNumericResponse</a> (<a class="el" href="group__common.html#gaf1da7edf6615d1b2376642de9bbfe449">tMassiveArray</a> &amp;buf)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga02cfed21ceafe387f51c2614ba4acc6b">N2WgetStringResponse</a> (const <a class="el" href="group__common.html#gaf1da7edf6615d1b2376642de9bbfe449">tMassiveArray</a> &amp;buf, string &amp;response)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaf9a6909ba65dbacaadea4e1264188dc3">N2WsetDebug</a> (bool en)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaa0c803e53ea5cd1221aed19eea5463f4">N2WConnect</a> (bool custom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga8ec5d0f6add0e5d953ad690f109a3253">N2WDisconnect</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga08460ccd558f382eb3006f702aa3023b">N2WStopConnecting</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gad383fbc39e7e19cf1e8adead76cef112">N2WDelete</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga553560298f91e301e85f226c21096f09">N2WSave</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gac54a69b33b3a29473e8b4e80f993a401">N2WLoad</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gad0c6469f5376ee875c47a1ff36dd6f40">N2WReset</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga03bec35f600dc68742e303a48ac228f4">N2WSecurity</a> (int mode, const ubyte *pKeypass, int keylen, int keyind)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga3ece92fa114544e0cae36bd70ffc5246">N2WSecurityWPA2Key</a> (<a class="el" href="group__common.html#ga54b6c60d5d8ec411391ca920bf8dc97b">tBigByteArray</a> &amp;key, int len)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga37d426a308e6e59ba6ed37f086a26b7d">N2WSecurityWPA2Passphrase</a> (const string passphrase)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga2fcfa71c53a88200e346fd6dad218d03">N2WSecurityWPAKey</a> (<a class="el" href="group__common.html#ga54b6c60d5d8ec411391ca920bf8dc97b">tBigByteArray</a> &amp;key, int len)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga59be7b814f305cd94528bf9de788e01f">N2WSecurityWPAPassphrase</a> (const string &amp;passphrase)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga67412608e97468088f257c8804402bd2">N2WSecurityWEP104</a> (const string &amp;passphrase)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga876fa30db99edff7c4e1c195c7900b45">N2WSecurityOpen</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga1e5b1d9289e2509b55bff7910b684391">N2WsetAdHoc</a> (bool adhoc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga1ff61d887ca3752378b26e63f6abace9">_N2WsetPar</a> (const string type, const string param)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga6c52b871d1aed83b3dee0c69369b4dd5">N2WsetDHCP</a> (bool yes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga789ea83bf9e9616742dc7fae399bef71">N2WsetDefaultProfile</a> (ubyte profile)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga518cfe843bc8f4d042405227a0a2f4ff">N2WCustomExist</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaf153be5c0c0c0d1d3ab0e545690aab26">N2WsetHibernate</a> (bool hibernate)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gac19e89faffd3abfbeb0c16a40c782df8">N2WsetPowerSave</a> (bool powersave)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga4d614d8aa6344f68393579251e0f57de">N2WStatus</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga2012c5479768124f2083dc643d7b4573">N2WConnected</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga75f932c01ab7aaf3ba965179b2773215">N2WgetIP</a> (string &amp;IP)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gac0449df51c7daa839b3769d78f4ce517">N2WgetMAC</a> (string &amp;mac)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga8e26fb26cd6daa62f7aeb52ad733ad1f">N2WUDPOpenClient</a> (int id, string ip, int port)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabf82b9ae3ba7b692ca6d9ec75eabc80e">N2WUDPOpenServer</a> (int id, int port)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabfed470eee5a127b1453966627552ca9">N2WUDPAvail</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga7a7ac805f528e56cc1de33f676670434">N2WUDPRead</a> (int id, int datalen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga7f7ff271d365cd3e9d37da277293869e">N2WUDPWrite</a> (int id, <a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;data, int datalen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga853a53631c8e4f961e6dd9a2b025ddb9">N2WUDPClose</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga10eff429e5d4857cc066ddae0994e759">N2WUDPFlush</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga6a0b83afc5568dafe0cc76020e769a87">N2WTCPOpenClient</a> (int id, string host, int port)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga7ff13f73e614148c4acd1f6595afe5fa">N2WTCPOpenClient</a> (int id, char *host, int port)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga94933ef9ec1dd6d41593aeb7cc01db71">N2WTCPOpenServer</a> (int id, int port)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabb2b4a155b438f699ce3f58cc4690a20">N2WTCPDetachClient</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga83d5a491bba4318f2b41b6eeebbc95df">N2WTCPClose</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga35c97dd880f8726d3e1d5135ba6875c8">N2WTCPFlush</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gad03127c6ae3da843d91f77e3bb27bb31">N2WTCPAvail</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gadb790227d5aae36490f830db97b5e85e">N2WTCPRead</a> (int id, int datalen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gabaa4672cbcc39d98359ae5926e6fa852">N2WTCPWrite</a> (int id, <a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;data, int datalen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#gaaf7765cdc6fc8a1617080e59634bb385">N2WTCPClientIP</a> (int id, string &amp;ip)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga6d8484108baeaa94ac6df7df79e190ca">N2WTCPClientMAC</a> (int id, string &amp;mac)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga607315267df26ff4000ee425fe567539">N2WenableWS</a> (bool enable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga51eb3a733a2308f77d380db47496397e">N2WreadWS</a> (ubyte &amp;type, ubyte &amp;ID, ubyte &amp;state, ubyte &amp;value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga007dff56d153169bea6f5419d05c61b9">N2WwriteWS</a> (ubyte type, ubyte id, <a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;wsmessage, ubyte wsmsglen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga456b3ed57f83c56171dcd3f1e678f401">N2WclearFields</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga64242f37fef710702a96a53849069503">N2WscratchString</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">intrinsic int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga59c656c794486f425bc8ec1dd566566b">strOpFind</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">intrinsic int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___n_x_t2_w_i_f_i.html#ga139740aa3106a37aac0bc2ec12c50abe">functionReturn</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Dani's WiFi Sensor </p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ga88627dd4a9dfeb11d2f4968279c79f3c"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::AD_HOC" ref="ga88627dd4a9dfeb11d2f4968279c79f3c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AD_HOC&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00064">64</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga13431962e4ad8005509bc9bf2e5fc84c"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::INFRASTRUCTURE" ref="ga13431962e4ad8005509bc9bf2e5fc84c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFRASTRUCTURE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00065">65</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga8cad34ee07c9a294819f0070c94e1720"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WchillOut" ref="ga8cad34ee07c9a294819f0070c94e1720" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WchillOut</td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td>&#160;&#160;&#160;wait1Msec(50)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Wait 50ms between messages, this allows transmission to be done </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a8">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a5">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a2">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a3">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00067">67</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaaebef4a719423f5116644ac1aeecc761"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetDNS1" ref="gaaebef4a719423f5116644ac1aeecc761" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetDNS1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;DNS1&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the first DNS server IP address </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00071">71</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga378d37e736e65129349ee607b310789a"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetDNS2" ref="ga378d37e736e65129349ee607b310789a" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetDNS2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;DNS2&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the second DNS server IP address </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00072">72</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gafb777c708309b5c4cd60d89e23715c00"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetGateway" ref="gafb777c708309b5c4cd60d89e23715c00" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetGateway</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;GWAY&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the gateway IP address </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00070">70</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabd2bf227781700379357eb2eb4789716"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetIPAddress" ref="gabd2bf227781700379357eb2eb4789716" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetIPAddress</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;IPAD&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the IP address </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00068">68</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga83de8a557b9f8fd353d23ddc51d504f9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetMask" ref="ga83de8a557b9f8fd353d23ddc51d504f9" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetMask</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;MASK&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the netmask </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00069">69</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6fbee78a45297f6c914bde21f28092b8"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetNetbiosName" ref="ga6fbee78a45297f6c914bde21f28092b8" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetNetbiosName</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;NAME&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the Netbios Name </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00074">74</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga54b23c839a31c2223453e622f4867440"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetSSID" ref="ga54b23c839a31c2223453e622f4867440" args="(X)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define N2WsetSSID</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">X&#160;)</td>
          <td>&#160;&#160;&#160;_N2WsetPar(&quot;SSID&quot;, X)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Macro for setting the SSID to connect to </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00073">73</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaa60f94528dbd526efe51621a5dcfbb38"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_OPEN" ref="gaa60f94528dbd526efe51621a5dcfbb38" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_OPEN&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open Security (none) </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00054">54</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaca898382d4e569493104f07b8c2e7ff1"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WEP_104" ref="gaca898382d4e569493104f07b8c2e7ff1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WEP_104&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>104 bit WEP </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00056">56</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga4458353a505e877aad1243213fb71dbf"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WEP_40" ref="ga4458353a505e877aad1243213fb71dbf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WEP_40&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>40 bit WEP </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00055">55</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6364769e8bdd334175c212ac47c512a4"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA2_KEY" ref="ga6364769e8bdd334175c212ac47c512a4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA2_KEY&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>WPA2 using key </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00059">59</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga40084a38a35caccb8e963fdbe07223c4"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA2_PASSPHRASE" ref="ga40084a38a35caccb8e963fdbe07223c4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA2_PASSPHRASE&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>WPA2 using passphrase </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00060">60</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gad65a4494e2b294d3f81958520c489aec"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA_AUTO_KEY" ref="gad65a4494e2b294d3f81958520c489aec" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA_AUTO_KEY&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Automatically determine WPA type and use key </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00061">61</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga92402209ad3288da331561197087fc92"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA_AUTO_PASSPHRASE" ref="ga92402209ad3288da331561197087fc92" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA_AUTO_PASSPHRASE&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Automatically determine WPA type and use passphrase </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00062">62</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gae77b53f74bc682576506fa705eaf94b9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA_KEY" ref="gae77b53f74bc682576506fa705eaf94b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA_KEY&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>WPA using key </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00057">57</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaa9999e5e1077bb65f4189c1743697924"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WF_SEC_WPA_PASSPHRASE" ref="gaa9999e5e1077bb65f4189c1743697924" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WF_SEC_WPA_PASSPHRASE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>WPA using passphrase </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00058">58</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga5346e56803b6b76f95b726f15ce98ffc"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WS_WEBBARGRAPH" ref="ga5346e56803b6b76f95b726f15ce98ffc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_WEBBARGRAPH&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Web page widget: bargraph </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00052">52</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga79b10de1bbc136ce1c87b199df74b328"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WS_WEBBUTTON" ref="ga79b10de1bbc136ce1c87b199df74b328" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_WEBBUTTON&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Web page widget: button </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00049">49</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga8fa9ff8becf8b102935c2347348a0541"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WS_WEBCHECKBOX" ref="ga8fa9ff8becf8b102935c2347348a0541" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_WEBCHECKBOX&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Web page widget: checkbox </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00050">50</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga836415b43af37073c0c5e836964c143d"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WS_WEBLABEL" ref="ga836415b43af37073c0c5e836964c143d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_WEBLABEL&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Web page widget: label </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00048">48</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gadeeafa26002e50f63f6528cca7c3d214"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::WS_WEBSLIDER" ref="gadeeafa26002e50f63f6528cca7c3d214" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WS_WEBSLIDER&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Web page widget: slider </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00051">51</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga1ff61d887ca3752378b26e63f6abace9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::_N2WsetPar" ref="ga1ff61d887ca3752378b26e63f6abace9" args="(const string type, const string param)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool _N2WsetPar </td>
          <td>(</td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"> <em>param</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set a specific parameter.<br/>
 Note: this is an internal function and should not be used directly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the parameter type </td></tr>
    <tr><td class="paramname">param</td><td>the value to pass to the parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00352">352</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga456b3ed57f83c56171dcd3f1e678f401"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WclearFields" ref="ga456b3ed57f83c56171dcd3f1e678f401" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WclearFields </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clears all webpage fields. This cannot be used together with normal TCP/UDP operations. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l01052">1052</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaa0c803e53ea5cd1221aed19eea5463f4"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WConnect" ref="gaa0c803e53ea5cd1221aed19eea5463f4" args="(bool custom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WConnect </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>custom</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Connect to the currently configured WiFi network </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">custom</td><td>use the default or custom profile </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a11">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a8">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a7">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a6">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00146">146</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga2012c5479768124f2083dc643d7b4573"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WConnected" ref="ga2012c5479768124f2083dc643d7b4573" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WConnected </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Are we connected to the WiFi network? </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if connected, false if not connected an error occured </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a12">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a9">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a8">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a7">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00465">465</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga518cfe843bc8f4d042405227a0a2f4ff"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WCustomExist" ref="ga518cfe843bc8f4d042405227a0a2f4ff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WCustomExist </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if a the custom profile exists. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the profile exists, false if it does not or an error occured. </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a9">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a6">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a5">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a4">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00404">404</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gad383fbc39e7e19cf1e8adead76cef112"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WDelete" ref="gad383fbc39e7e19cf1e8adead76cef112" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WDelete </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Delete the currently configured custom profile </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00195">195</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga8ec5d0f6add0e5d953ad690f109a3253"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WDisconnect" ref="ga8ec5d0f6add0e5d953ad690f109a3253" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WDisconnect </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Disconnect from the current WiFi network </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a7">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a4">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a4">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a2">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00162">162</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga607315267df26ff4000ee425fe567539"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WenableWS" ref="ga607315267df26ff4000ee425fe567539" args="(bool enable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WenableWS </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>enable</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable the built-in webserver. This cannot be used together with normal TCP/UDP operations. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>enables the web server if set to true, disables it if false </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00945">945</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga75f932c01ab7aaf3ba965179b2773215"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WgetIP" ref="ga75f932c01ab7aaf3ba965179b2773215" args="(string &amp;IP)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WgetIP </td>
          <td>(</td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"> <em>IP</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the current IP address. If the address could not be determined 0.0.0.0 is returned. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">IP</td><td>the string to put the address into </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a13">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a10">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a9">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a8">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00476">476</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gac0449df51c7daa839b3769d78f4ce517"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WgetMAC" ref="gac0449df51c7daa839b3769d78f4ce517" args="(string &amp;mac)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void N2WgetMAC </td>
          <td>(</td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"> <em>mac</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the NXT2WIFI's MAC address. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mac</td><td>string to hold MAC address </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00502">502</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabaad0084f545d07e190898c2398fc73a"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WgetNumericResponse" ref="gabaad0084f545d07e190898c2398fc73a" args="(tMassiveArray &amp;buf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WgetNumericResponse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#gaf1da7edf6615d1b2376642de9bbfe449">tMassiveArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>buf</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse the buffer and return the number in the NXT2WIFI response </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>the buffer to pull the number from </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number or -1 if no number found. </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00088">88</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga02cfed21ceafe387f51c2614ba4acc6b"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WgetStringResponse" ref="ga02cfed21ceafe387f51c2614ba4acc6b" args="(const tMassiveArray &amp;buf, string &amp;response)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void N2WgetStringResponse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__common.html#gaf1da7edf6615d1b2376642de9bbfe449">tMassiveArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"> <em>response</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse the buffer and return the string in the NXT2WIFI response </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>the buffer to pull the string from </td></tr>
    <tr><td class="paramname">response</td><td>the string to hold the response from the sensor </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00111">111</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gac54a69b33b3a29473e8b4e80f993a401"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WLoad" ref="gac54a69b33b3a29473e8b4e80f993a401" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WLoad </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Load the currently configured custom profile </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a10">benedettelli-nxt2wifi-test1.c</a>, <a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a7">benedettelli-nxt2wifi-test2.c</a>, <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a6">benedettelli-nxt2wifi-test3.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a5">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00221">221</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga51eb3a733a2308f77d380db47496397e"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WreadWS" ref="ga51eb3a733a2308f77d380db47496397e" args="(ubyte &amp;type, ubyte &amp;ID, ubyte &amp;state, ubyte &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WreadWS </td>
          <td>(</td>
          <td class="paramtype">ubyte &amp;&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ubyte &amp;&#160;</td>
          <td class="paramname"> <em>ID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ubyte &amp;&#160;</td>
          <td class="paramname"> <em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ubyte &amp;&#160;</td>
          <td class="paramname"> <em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read data from the web server. This cannot be used together with normal TCP/UDP operations. <br/>
 Type can be one of the following:</p>
<ul>
<li>WS_WEBLABEL</li>
<li>WS_WEBBUTTON</li>
<li>WS_WEBCHECKBOX</li>
<li>WS_WEBSLIDER <dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the type of widget </td></tr>
    <tr><td class="paramname">ID</td><td>ID of the element that was pressed or submitted </td></tr>
    <tr><td class="paramname">state</td><td>additional data from the UI element </td></tr>
    <tr><td class="paramname">value</td><td>the value of the UI element </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
</li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a9">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00969">969</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gad0c6469f5376ee875c47a1ff36dd6f40"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WReset" ref="gad0c6469f5376ee875c47a1ff36dd6f40" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void N2WReset </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reset the NXT2WIFI sensor. </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00233">233</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga553560298f91e301e85f226c21096f09"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSave" ref="ga553560298f91e301e85f226c21096f09" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSave </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Save the currently configured custom profile </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00209">209</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga03bec35f600dc68742e303a48ac228f4"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurity" ref="ga03bec35f600dc68742e303a48ac228f4" args="(int mode, const ubyte *pKeypass, int keylen, int keyind)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurity </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ubyte *&#160;</td>
          <td class="paramname"> <em>pKeypass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>keylen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>keyind</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Confgure the security settings for the custom profile<br/>
 Note: this is an internal function and shouldn't be used directly </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>the security mode to use </td></tr>
    <tr><td class="paramname">pKeypass</td><td>the keypass to use </td></tr>
    <tr><td class="paramname">keylen</td><td>the length of the key </td></tr>
    <tr><td class="paramname">keyind</td><td>used for WEP, usually set to 0 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00248">248</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga876fa30db99edff7c4e1c195c7900b45"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityOpen" ref="ga876fa30db99edff7c4e1c195c7900b45" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityOpen </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use no security at all. Just as effective as WEP but less annoying. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00324">324</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga67412608e97468088f257c8804402bd2"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityWEP104" ref="ga67412608e97468088f257c8804402bd2" args="(const string &amp;passphrase)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityWEP104 </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"> <em>passphrase</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the WEP passphrase. Please don't use this, it's very insecure. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">passphrase</td><td>the WEP passphrase to use </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00312">312</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga3ece92fa114544e0cae36bd70ffc5246"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityWPA2Key" ref="ga3ece92fa114544e0cae36bd70ffc5246" args="(tBigByteArray &amp;key, int len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityWPA2Key </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#ga54b6c60d5d8ec411391ca920bf8dc97b">tBigByteArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the WPA2 key </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the WPA2 key to use </td></tr>
    <tr><td class="paramname">len</td><td>the length of the WPA2 key </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00267">267</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga37d426a308e6e59ba6ed37f086a26b7d"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityWPA2Passphrase" ref="ga37d426a308e6e59ba6ed37f086a26b7d" args="(const string passphrase)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityWPA2Passphrase </td>
          <td>(</td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"> <em>passphrase</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the WPA2 passphrase </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">passphrase</td><td>the WPA2 passphrase to use </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00277">277</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga2fcfa71c53a88200e346fd6dad218d03"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityWPAKey" ref="ga2fcfa71c53a88200e346fd6dad218d03" args="(tBigByteArray &amp;key, int len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityWPAKey </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#ga54b6c60d5d8ec411391ca920bf8dc97b">tBigByteArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the WPA key </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the WPA key to use </td></tr>
    <tr><td class="paramname">len</td><td>the length of the WPA key </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00290">290</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga59be7b814f305cd94528bf9de788e01f"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WSecurityWPAPassphrase" ref="ga59be7b814f305cd94528bf9de788e01f" args="(const string &amp;passphrase)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WSecurityWPAPassphrase </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"> <em>passphrase</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the WPA passphrase </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">passphrase</td><td>the WPA passphrase to use </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00300">300</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga1e5b1d9289e2509b55bff7910b684391"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetAdHoc" ref="ga1e5b1d9289e2509b55bff7910b684391" args="(bool adhoc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetAdHoc </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>adhoc</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use ad-hoc network or infrastructure </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">adhoc</td><td>if true, use adhoc, otherwise use infrastructure mode </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00335">335</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaf9a6909ba65dbacaadea4e1264188dc3"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetDebug" ref="gaf9a6909ba65dbacaadea4e1264188dc3" args="(bool en)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetDebug </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>en</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable debugging </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">en</td><td>whether or not to enable debugging </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a3">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00129">129</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga789ea83bf9e9616742dc7fae399bef71"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetDefaultProfile" ref="ga789ea83bf9e9616742dc7fae399bef71" args="(ubyte profile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetDefaultProfile </td>
          <td>(</td>
          <td class="paramtype">ubyte&#160;</td>
          <td class="paramname"> <em>profile</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the default profileto connect to after initial startup </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">profile</td><td>The profile to connect to, 0 = none, 1 = custom profile, 2 = default </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00386">386</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6c52b871d1aed83b3dee0c69369b4dd5"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetDHCP" ref="ga6c52b871d1aed83b3dee0c69369b4dd5" args="(bool yes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetDHCP </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>yes</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Configure to use DHCP. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">yes</td><td>if set to true, use DHCP </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00369">369</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaf153be5c0c0c0d1d3ab0e545690aab26"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetHibernate" ref="gaf153be5c0c0c0d1d3ab0e545690aab26" args="(bool hibernate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetHibernate </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>hibernate</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enter or exit hibernation mode </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">hibernate</td><td>enter hibernation mode if true, exit if false </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00420">420</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gac19e89faffd3abfbeb0c16a40c782df8"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WsetPowerSave" ref="gac19e89faffd3abfbeb0c16a40c782df8" args="(bool powersave)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WsetPowerSave </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>powersave</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable or disable power saving </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">powersave</td><td>enable powersaving if true, disable if false </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00437">437</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga4d614d8aa6344f68393579251e0f57de"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WStatus" ref="ga4d614d8aa6344f68393579251e0f57de" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WStatus </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the current connection status. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00452">452</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga08460ccd558f382eb3006f702aa3023b"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WStopConnecting" ref="ga08460ccd558f382eb3006f702aa3023b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WStopConnecting </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Stop reconnecting when disconnected </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00177">177</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gad03127c6ae3da843d91f77e3bb27bb31"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPAvail" ref="gad03127c6ae3da843d91f77e3bb27bb31" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WTCPAvail </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if there are bytes available for reading on the specified connection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of bytes available for reading </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a13">benedettelli-nxt2wifi-test2.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a13">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00809">809</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gaaf7765cdc6fc8a1617080e59634bb385"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPClientIP" ref="gaaf7765cdc6fc8a1617080e59634bb385" args="(int id, string &amp;ip)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void N2WTCPClientIP </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"> <em>ip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the remote client's IP address </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">ip</td><td>string to hold IP address </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a16">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00892">892</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6d8484108baeaa94ac6df7df79e190ca"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPClientMAC" ref="ga6d8484108baeaa94ac6df7df79e190ca" args="(int id, string &amp;mac)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void N2WTCPClientMAC </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string &amp;&#160;</td>
          <td class="paramname"> <em>mac</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the remote client's MAC address. Only useful for local network client. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">mac</td><td>string to hold MAC address </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a15">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00918">918</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga83d5a491bba4318f2b41b6eeebbc95df"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPClose" ref="ga83d5a491bba4318f2b41b6eeebbc95df" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPClose </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Close the specified connection </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 or 0 for all </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a15">benedettelli-nxt2wifi-test2.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a10">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00778">778</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabb2b4a155b438f699ce3f58cc4690a20"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPDetachClient" ref="gabb2b4a155b438f699ce3f58cc4690a20" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPDetachClient </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Closes a connection to a remote client </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a20">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00759">759</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga35c97dd880f8726d3e1d5135ba6875c8"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPFlush" ref="ga35c97dd880f8726d3e1d5135ba6875c8" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPFlush </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flush the buffers of the specified connection </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 or 0 for all </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00793">793</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga6a0b83afc5568dafe0cc76020e769a87"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPOpenClient" ref="ga6a0b83afc5568dafe0cc76020e769a87" args="(int id, string host, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPOpenClient </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>host</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>port</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a TCP connection to a remote host on a port </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">host</td><td>the IP address of name of the remote host </td></tr>
    <tr><td class="paramname">port</td><td>the port of the service on the remote host </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a11">benedettelli-nxt2wifi-test2.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00691">691</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga7ff13f73e614148c4acd1f6595afe5fa"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPOpenClient" ref="ga7ff13f73e614148c4acd1f6595afe5fa" args="(int id, char *host, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPOpenClient </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"> <em>host</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>port</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a TCP connection to a remote host on a port </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">host</td><td>the IP address of name of the remote host </td></tr>
    <tr><td class="paramname">port</td><td>the port of the service on the remote host </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00715">715</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga94933ef9ec1dd6d41593aeb7cc01db71"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPOpenServer" ref="ga94933ef9ec1dd6d41593aeb7cc01db71" args="(int id, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WTCPOpenServer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>port</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a listening UDP socket on the specified port </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">port</td><td>the port on which to start listening </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a12">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00740">740</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gadb790227d5aae36490f830db97b5e85e"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPRead" ref="gadb790227d5aae36490f830db97b5e85e" args="(int id, int datalen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WTCPRead </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read the specified number of bytes from the connection ID. Bytes are read into the RS485rxbuffer variable. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">datalen</td><td>the number of bytes to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a14">benedettelli-nxt2wifi-test2.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a14">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00828">828</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabaa4672cbcc39d98359ae5926e6fa852"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WTCPWrite" ref="gabaa4672cbcc39d98359ae5926e6fa852" args="(int id, tHugeByteArray &amp;data, int datalen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WTCPWrite </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the specified number of bytes to the connection ID. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">data</td><td>the tHugeByteArray containing the data to be transmitted </td></tr>
    <tr><td class="paramname">datalen</td><td>the number of bytes to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test2_8c-example.html#a12">benedettelli-nxt2wifi-test2.c</a>, and <a class="el" href="benedettelli-nxt2wifi-test3_8c-example.html#a18">benedettelli-nxt2wifi-test3.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00866">866</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabfed470eee5a127b1453966627552ca9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPAvail" ref="gabfed470eee5a127b1453966627552ca9" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WUDPAvail </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if there are bytes available for reading on the specified connection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of bytes available for reading </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a15">benedettelli-nxt2wifi-test1.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00572">572</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga853a53631c8e4f961e6dd9a2b025ddb9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPClose" ref="ga853a53631c8e4f961e6dd9a2b025ddb9" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WUDPClose </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Close the specified connection. Use 0 to close all connections </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 or 0 for all </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00658">658</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga10eff429e5d4857cc066ddae0994e759"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPFlush" ref="ga10eff429e5d4857cc066ddae0994e759" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WUDPFlush </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flush the buffers of the specified connection </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 or 0 for all </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00673">673</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga8e26fb26cd6daa62f7aeb52ad733ad1f"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPOpenClient" ref="ga8e26fb26cd6daa62f7aeb52ad733ad1f" args="(int id, string ip, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WUDPOpenClient </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>ip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>port</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a UDP datastream to a remote host on a port </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">ip</td><td>the IP address of the remote host </td></tr>
    <tr><td class="paramname">port</td><td>the port of the service on the remote host </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00530">530</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gabf82b9ae3ba7b692ca6d9ec75eabc80e"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPOpenServer" ref="gabf82b9ae3ba7b692ca6d9ec75eabc80e" args="(int id, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WUDPOpenServer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>port</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a listening UDP socket on the specified port </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">port</td><td>the port on which to start listening </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a14">benedettelli-nxt2wifi-test1.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00553">553</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga7a7ac805f528e56cc1de33f676670434"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPRead" ref="ga7a7ac805f528e56cc1de33f676670434" args="(int id, int datalen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int N2WUDPRead </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Read the specified number of bytes from the connection ID. Bytes are read into the RS485rxbuffer variable. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">datalen</td><td>the number of bytes to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a16">benedettelli-nxt2wifi-test1.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00595">595</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga7f7ff271d365cd3e9d37da277293869e"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WUDPWrite" ref="ga7f7ff271d365cd3e9d37da277293869e" args="(int id, tHugeByteArray &amp;data, int datalen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WUDPWrite </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>datalen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the specified number of bytes to the connection ID. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the connection ID to use, can be 1 to 4 </td></tr>
    <tr><td class="paramname">data</td><td>the tHugeByteArray containing the data to be transmitted </td></tr>
    <tr><td class="paramname">datalen</td><td>the number of bytes to read </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test1_8c-example.html#a17">benedettelli-nxt2wifi-test1.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00635">635</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga007dff56d153169bea6f5419d05c61b9"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WwriteWS" ref="ga007dff56d153169bea6f5419d05c61b9" args="(ubyte type, ubyte id, tHugeByteArray &amp;wsmessage, ubyte wsmsglen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool N2WwriteWS </td>
          <td>(</td>
          <td class="paramtype">ubyte&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ubyte&#160;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__common.html#gacc2928041c5ff8e7f2ddef1e88431e80">tHugeByteArray</a> &amp;&#160;</td>
          <td class="paramname"> <em>wsmessage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ubyte&#160;</td>
          <td class="paramname"> <em>wsmsglen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write data to the webserver. <br/>
 Type can be one of the following:</p>
<ul>
<li>WS_WEBLABEL</li>
<li>WS_WEBBUTTON</li>
<li>WS_WEBCHECKBOX</li>
<li>WS_WEBSLIDER</li>
<li>WS_WEBBARGRAPH <dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>the type of webpage element </td></tr>
    <tr><td class="paramname">id</td><td>the field number in the web page </td></tr>
    <tr><td class="paramname">wsmessage</td><td>data to be transmitted </td></tr>
    <tr><td class="paramname">wsmsglen</td><td>length of the data </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if no error occured, false if it did </dd></dl>
</li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="benedettelli-nxt2wifi-test4_8c-example.html#a10">benedettelli-nxt2wifi-test4.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l01007">1007</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="gac9623873538026c63a3f80d3f41a787f"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::StringFind" ref="gac9623873538026c63a3f80d3f41a787f" args="(const char *sSrce, const char *pzFindString) asm(opcdStringOps" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">intrinsic int StringFind </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>sSrce</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"> <em>pzFindString</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ga7c3c0f0eb0bb81b14b43b940624c064c"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::variableRefCharPtr" ref="ga7c3c0f0eb0bb81b14b43b940624c064c" args="(pzFindString))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">intrinsic int variableRefCharPtr </td>
          <td>(</td>
          <td class="paramtype">pzFindString&#160;</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="gaac0d56706c00d98c12714caea471305f"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::variableRefCharPtr" ref="gaac0d56706c00d98c12714caea471305f" args="(sSrce)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">intrinsic int variableRefCharPtr </td>
          <td>(</td>
          <td class="paramtype">sSrce&#160;</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ga139740aa3106a37aac0bc2ec12c50abe"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::functionReturn" ref="ga139740aa3106a37aac0bc2ec12c50abe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">intrinsic int <a class="el" href="group___n_x_t2_w_i_f_i.html#ga139740aa3106a37aac0bc2ec12c50abe">functionReturn</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00080">80</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga64242f37fef710702a96a53849069503"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::N2WscratchString" ref="ga64242f37fef710702a96a53849069503" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="group___n_x_t2_w_i_f_i.html#ga64242f37fef710702a96a53849069503">N2WscratchString</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>string for tmp formatting, scratch data </p>

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00078">78</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga59c656c794486f425bc8ec1dd566566b"></a><!-- doxytag: member="benedettelli&#45;nxt2wifi.h::strOpFind" ref="ga59c656c794486f425bc8ec1dd566566b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">intrinsic int <a class="el" href="group___n_x_t2_w_i_f_i.html#ga59c656c794486f425bc8ec1dd566566b">strOpFind</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="benedettelli-nxt2wifi_8h_source.html#l00080">80</a> of file <a class="el" href="benedettelli-nxt2wifi_8h_source.html">benedettelli-nxt2wifi.h</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Mar 13 2013 19:56:44 for ROBOTC Drivers by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
